/**
 * 
 */
package t4j.annotations.datebase;

@DBtable(name = "MEMBER")
public class Member {

	@SQLString(30) 
	String firstName;
	
	@SQLString(50)
	String lastName;
	
	@SQLString
	Integer age;
	
	@SQLString(value = 30,constraints = @Constraints(primaryKey = true))//嵌套
	String handle;
	
	@SQLInteger(name="abcdef",constraints = @Constraints(allowNull=false))
	String test;
	
	static int memberCount;
	
	public String getHandle(){ return handle;}
	
	public String getFirstName(){ return firstName;}
	
	public String getLastName(){return lastName;}
	
	public String toString(){ return handle;}
	
	public Integer getAge(){ return age;}
}
